import _ from "lodash";
import { sort } from "./index";

const result = _.join(["aa", "bb", "cc"], "_");
console.log("result:", result);

var users = [
  { user: "fred", age: 48 },
  { user: "barney", age: 34 },
  { user: "fred", age: 40 },
  { user: "barney", age: 36 },
];

console.log("排序：", sort(users, "age", "desc"));
